package net.qiqb.usr.customer.adapter.listener;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import net.qiqb.usr.custom.client.events.CreatedCustomEvent;
import net.qiqbframework.eventhandling.EventHandler;
import org.springframework.stereotype.Component;

@Component
@AllArgsConstructor
@Slf4j
public class Custom4ProjectNavListener {


    @EventHandler
    public void log(CreatedCustomEvent createdCustomEvent) {
        log.warn("createdCustomEvent " + createdCustomEvent.getCustomerId());
    }
}
